package net.dopan.pigframe.demo.service;

import net.dopan.pigframe.core.base.service.BaseService;
import net.dopan.pigframe.demo.model.entity.ActivityClassify;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

@CacheConfig(cacheNames = "ACTIVITYCLASSIFY")
public interface ActivityClassifyService extends BaseService<ActivityClassify> {

    @Cacheable
    List<ActivityClassify> findAll();

}
